package com.company.project.service;


import com.company.project.core.Page;
import com.company.project.core.Result;
import com.company.project.model.College;

/**
 * Description:
 *
 * @author:
 * Date: 2020-04-03
 * Time: 16:04
 */
public interface CollegeService {
    /**
     * 分页查询所有院系
     * @param page 分页参数
     * @return
     */
    public Result queryCollegePage(Page page);

    public Result queryCollege();

    public Result getCollege(Integer id);

    public Result saveCollege(College college);

    public Result deleteCollege(Integer id);

    public Result getCollegeByName(String collegeName);
}
